import request from "@/utils/request";

// 查询土的击实记录列表
export function listTgTdjsjlbBsInfo(query) {
  return request({
    url: "/report_tg/tgTdjsjlbBsInfo/list",
    method: "get",
    params: query
  });
}

// 查询土的击实记录详细
export function getTgTdjsjlbBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTdjsjlbBsInfo/" + excelId,
    method: "get"
  });
}

// 计算土的击实记录
export function computeTgTdjsjlbBsInfo(data) {
  return request({
    url: "/report_tg/tgTdjsjlbBsInfo/compute",
    method: "put",
    data: data,
    notInterval: true
  });
}

// 新增土的击实记录
export function addTgTdjsjlbBsInfo(data) {
  return request({
    url: "/report_tg/tgTdjsjlbBsInfo",
    method: "post",
    data: data
  });
}

// 修改土的击实记录
export function updateTgTdjsjlbBsInfo(data) {
  return request({
    url: "/report_tg/tgTdjsjlbBsInfo",
    method: "put",
    data: data
  });
}

// 删除土的击实记录
export function delTgTdjsjlbBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTdjsjlbBsInfo/" + excelId,
    method: "delete"
  });
}
